const map = {
  "loading": "\ue75a",
  "spinner": "\uebfe",
  "photo-fail": "\ue6ae",
  "photo": "\ue6af"
};

export default {
  props: {
    name: String,
    color: String,
    size: {
      default: 32,
    },
  },
  computed: {
    content() {
      return map[this.name];
    },
  },
  handClick() {
    this.$emit("tap");
  },
};
